//
//  HYMessageTableViewController.swift
//  WeiBo
//
//  Created by crazyfish on 16/3/10.
//  Copyright © 2016年 crazyfish. All rights reserved.
//

import UIKit

class HYMessageTableViewController: HYVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        if userLogon == false{
            
        let  v =  HYVisitorView()
            
        v.setpageInfo("visitordiscover_image_message", message: "登录后，别人评论你的微博，发给你的消息，都会在这里收到通知")
           
        view = v
            
        return
            
        }

        setupUI()
    }
    
    func setupUI(){
        
        navigationItem.leftBarButtonItem = UIBarButtonItem(title:"发现群",target: self
            , action: "push")
        
    }

    
    func push(){
        
        let vc = UIViewController()
        vc.view.backgroundColor = UIColor.whiteColor()
        navigationController?.pushViewController(vc, animated: true)
    }
}
